package cn.iocoder.mall.user.biz.dataobject;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class PromotersRecord implements Serializable {
    /**商铺推广员关联表ID*/
    private Long spId;
    /**商铺ID*/
    private String shopId;
    /**推广员ID*/
    private String promotersId;
    /**商户联系方式*/
    private String merchantContact;
    /**推广地理位置*/
    private String promotersAddress;
    /**分成比例*/
    private Integer earningsRatio;
    /**分成类型*/
    private Integer revenueType;
    /**加入时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date addingTime;
}
